package com.usian.user.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.usian.common.dto.UserDto;
import com.usian.common.pojo.User;
import com.usian.common.vo.ResponseResult;
import com.usian.common.vo.Result;

public interface UserService {


    ResponseResult login(UserDto userDto);

    ResponseResult myCompetition(String token);

    ResponseResult myTrain(String token);

    ResponseResult myCourse(String token);

    ResponseResult hotCourse();

//    ResponseResult like(String token,Integer id);
//
//    ResponseResult unlike(String token, Integer id);

    ResponseResult haslike(String token, Integer id);

    ResponseResult getNewestClass();

    ResponseResult hasNewestLike(String token, Integer id);

    ResponseResult getNewestTrain();

    ResponseResult getNewestExam();
}
